/*
 * Created by LiuYou on 2020/12/17.
 *
 */

#include "AocDisplay.hpp"
#include <utility>

NoteBook::Display::AocDisplay::AocDisplay(int id, std::string feature) : id(id), feature(std::move(feature)) {}

NoteBook::Display::AocDisplay::~AocDisplay() = default;

int NoteBook::Display::AocDisplay::getId() const {
    return id;
}

const std::string& NoteBook::Display::AocDisplay::getFeature() const {
    return feature;
}

std::ostream& NoteBook::Display::operator<<(std::ostream& os, const NoteBook::Display::AocDisplay& display) {
    os << static_cast<const Display&>(display) << " id: " << display.id << " feature: " << display.feature;
    return os;
}
